﻿<UserControl x:Class="OrzRefectorMenu.AssignUserControl.Assign"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Height="350" Width="525"
       TextOptions.TextFormattingMode="Display"
        TextOptions.TextRenderingMode="ClearType"  
        >
    <Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*" />
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0">
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition Height="5"/>
                    <RowDefinition />
                </Grid.RowDefinitions>
                <TabControl  Grid.Row="0">
                    <TabItem Header="Content1">
                        <DockPanel>
    
                    <WrapPanel DockPanel.Dock="Top">
                        <ComboBox x:Name="textTemplateComboBox" IsEditable="True" Width="250" >
                            <ComboBoxItem>a[i].$A$ = b.$A$;</ComboBoxItem>
                            <ComboBoxItem>$LA$Label = m.$A$;</ComboBoxItem>
                        </ComboBox>
                        <Button x:Name="GenerateButton" Click="GenerateButton_Click" Padding="5" Content="Generate"  />
                        <CheckBox x:Name="IsObjectCheckBox" Content="Object content" IsChecked="True" Padding="5" />
                    </WrapPanel>
                    <ScrollViewer>
                        <RichTextBox x:Name="inputRichTextBox" SpellCheck.IsEnabled="True">
                            <RichTextBox.Resources>
                                <Style TargetType="{x:Type Paragraph}">
                                    <Setter Property="Margin" Value="0"/>
                                </Style>
                            </RichTextBox.Resources>
                        </RichTextBox>
                    </ScrollViewer>
                </DockPanel>
                    </TabItem>
                    
                    <TabItem>

                        <GridView>
                            <GridView.Columns>
                                <GridViewColumn/>
       
                            </GridView.Columns>
                        </GridView>

                    </TabItem>
                    
                    
                </TabControl>

                <GridSplitter Grid.Row="1" HorizontalAlignment="Stretch" />
                <DockPanel Grid.Row="2">
                    <ScrollViewer>
                        <RichTextBox x:Name="outputRichTextBox" SpellCheck.IsEnabled="False">
                            <RichTextBox.Resources>
                                <Style TargetType="{x:Type Paragraph}">
                                    <Setter Property="Margin" Value="0"/>
                                </Style>
                            </RichTextBox.Resources>
                        </RichTextBox>
                    </ScrollViewer>
                </DockPanel>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
